<table width="100%" border="0" cellpadding="0" cellspacing="0" background="/images/mainpage-sliced_16.jpg">
  <tr>
    <td width="20" height="40">&nbsp;</td>
    <td class="style5" style="border-right:solid 1px #FFFFFF;">View Milestone's Versions</td>
  </tr>
</table>
<table width="100%" border="0">
  <tr class="style2" background="/images/mainpage-sliced_11.jpg">
    <td width="22%" align="center" ><strong>Version #</strong></td>
    <td width="19%" align="center"><strong>Milestone</strong></td>
    <td width="15%" align="center"><strong>Tasks</strong></td>
    <td width="20%" align="center"><strong>Start Date</strong></td>
     <td width="15%" align="center"><strong>End Date</strong></td>
    <td width="20%" align="center"><strong>Cost</strong></td>
    <td width="20%" align="center"><strong>Resources</strong></td>
  </tr>
  <?php
  //$milestoneVersionInfo = $sf_user->getAttribute('getMilestoneVersionsInfo');
  foreach ($milestoneversions as $i => $versionDetail): ?>
  <tr class="regulartext_<?php echo fmod($i, 2) ? 'even' : 'odd' ?>">
    <td align="center" style="text-decoration:underline"><?php echo $versionDetail['version'] ?></td>
    <td align="center"><?php echo $versionDetail['name'] ?></td>
    <td align="center"><?php echo $versionDetail['task_count'] ?></td>
    <td align="center"><?php echo date('M-d-Y', strtotime($versionDetail['startdate'])) ?></td>
    <td align="center"><?php echo date('M-d-Y', strtotime($versionDetail['enddate'])) ?></td>
    <td align="center"><?php echo number_format($versionDetail['cost']) ?></td>
    <td align="center"><?php echo $versionDetail['resource_count'] ?></td>
  </tr>
  <?php endforeach; ?>  
</table>
<hr/>

